package com.gcy.checkcertificate.controller;

import com.gcy.checkcertificate.domain.ImageCode;
import com.ygp.common.utils.Result;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.imageio.ImageIO;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.TimeUnit;

/**
 * <Description> <br>
 *
 * @author linmiaolai@sanyygp.com<br>
 * @version 1.0<br>
 * @date 2024/01/26 <br>
 */
@RestController
@RequestMapping("certificate/check")
@Api(tags = "验证证书相关接口")
public class CheckCertificateController {

    @GetMapping("test")
    public Result<String> testMethod() {
        return Result.okWith("success");
    }



}
